﻿@section header
{
    <link rel="stylesheet" href="/css/treetable.css" />
    <link rel="stylesheet" href="/js/dtree/dtree.css" />
    <link rel="stylesheet" href="/js/dtree/font/dtreefont.css" />
    <link rel="stylesheet" href="~/layui/css/layui.css" />
}
<blockquote class="layui-elem-quote news_search toolList" id="menus">
</blockquote>
<div class="layui-row">
    <div class="layui-card">
        <table class="layui-table" id="mainList"
               lay-data="{height: 'full-80', page:true, id:'mainList'}"
               lay-filter="list" lay-size="sm">
        </table>
    </div>
    <div class="layui-tab" lay-filter="tab">
        <ul class="layui-tab-title" id="tabmx">
            <li class="layui-this">网站设置</li>
        </ul>
        <div class="layui-tab-content" >
            <div class="layui-tab-item layui-show">
                <table class="layui-table"
                       lay-data="{height: 'full-80', page:true, id:'mainListMx'}"
                       lay-filter="mainListMx" lay-size="sm">
                    <thead>
                        <tr>
                            <th lay-data="{checkbox:true, fixed: true}"></th>
                            <th lay-data="{field:'Name', width:150, sort: true, fixed: true}">组织名称</th>
                            <th lay-data="{field:'CascadeId', width:150}">层级ID</th>
                            <th lay-data="{field:'ParentName', width:135}">父节点名称</th>
                            <th lay-data="{field:'SortNo', width:180}">排序号</th>
                            <th lay-data="{field:'Id', width:180}">ID</th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
<!--添加/编辑窗口-->
<div id="divEdit" style="display: none ;">
    <form class="layui-form" action="" id="formEdit">
        <input type="hidden" name="Id" v-model="tmp.Id" />
        <div class="layui-form-item">
            <label class="layui-form-label">项目编码</label>
            <div class="layui-input-block">
                <input type="text" name="PROJ_SHORT_NAME" v-model="tmp.PROJ_SHORT_NAME"
                       placeholder="项目编码" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目名称</label>
            <div class="layui-input-block">
                @*<input id="AppName" name="AppName" v-model="tmp.Organizations" required lay-verify="required" class="layui-input" />
                <input id="AppId" name="AppId" v-model="tmp.OrganizationIds" required lay-verify="required" type="hidden" />*@
                <input type="text" name="PROJECT_NAME" v-model="tmp.PROJECT_NAME"
                       placeholder="项目名称" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目简称</label>
            <div class="layui-input-block">
                <input type="text" name="PROJ_JC" v-model="tmp.PROJ_JC"
                       placeholder="项目简称" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结构类型 </label>
            <div class="layui-input-block">
                <input type="text" name="KJ_TYPE" v-model="tmp.KJ_TYPE" placeholder="结构类型"
                       autocomplete="off" class="layui-input" required lay-verify="required" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工程所在区域 </label>
            <div class="layui-input-block">
                <input type="text" name="AREA" v-model="tmp.AREA"
                       placeholder="工程所在区域" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">资金来源</label>
            <div class="layui-input-block">
                <input type="text" name="FUND_SOURCE" v-model="tmp.FUND_SOURCE"
                       placeholder="资金来源" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目状况--下拉</label>
            <div class="layui-input-block">
                <input type="text" name="STATUS_CODE" v-model="tmp.STATUS_CODE"
                       placeholder="项目状况" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工程所在地-下拉</label>
            <div class="layui-input-block">
                <input type="text" name="P_ADDRESS" v-model="tmp.P_ADDRESS"
                       placeholder="工程所在地" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">计划开工日期</label>
            <div class="layui-input-block">
                <input type="text"   name="P_STARTDATE" id="P_STARTDATE" v-model="tmp.P_STARTDATE"
                       placeholder="计划开工日期" required lay-verify="required" autocomplete="off" class="layui-input date">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">计划竣工日期</label>
            <div class="layui-input-block ">
                <input type="text"   name="P_COMPDATE" id="P_COMPDATE" v-model="tmp.P_COMPDATE"
                       placeholder="计划竣工日期" required lay-verify="required" autocomplete="off" class="layui-input date">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">工期(天) </label>
            <div class="layui-input-block">
                <input type="text" name="LIMIT_DAY" v-model="tmp.LIMIT_DAY"
                       placeholder="工期(天) " autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">工程性质</label>
            <div class="layui-input-block">
                <input type="text" name="P_NATURE" v-model="tmp.P_NATURE"
                       placeholder="工程性质" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工程类别</label>
            <div class="layui-input-block">
                <input type="text" name="P_TYPE" v-model="tmp.P_TYPE"
                       placeholder="工程类别" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">房地产项目性质</label>
            <div class="layui-input-block">
                <input type="text" name="FDCXM_TYPE" v-model="tmp.FDCXM_TYPE"
                       placeholder="房地产项目性质" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">建设单位</label>
            <div class="layui-input-block">
                <input type="text" name="BUILD_UNIT" v-model="tmp.BUILD_UNIT"
                       placeholder="建设单位" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">监理公司</label>
            <div class="layui-input-block">
                <input type="text" name="SUP_COMP" v-model="tmp.SUP_COMP"
                       placeholder="监理公司" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">详细地址</label>
            <div class="layui-input-block">
                <input type="text" name="ADRESS" v-model="tmp.ADRESS"
                       placeholder="详细地址" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目经理</label>
            <div class="layui-input-block">
                <input type="text" name="P_MANAGER" v-model="tmp.P_MANAGER"
                       placeholder="项目经理" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目经理联系方式</label>
            <div class="layui-input-block">
                <input type="text" name="P_MANAGER_TEL" v-model="tmp.P_MANAGER_TEL"
                       placeholder="项目经理联系方式" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">中标单位编码</label>
            <div class="layui-input-block">
                <input type="text" name="W_CODE" v-model="tmp.W_CODE"
                       placeholder="中标单位编码" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">中标单位名称</label>
            <div class="layui-input-block">
                <input type="text" name="W_NAME" v-model="tmp.W_NAME"
                       placeholder="中标单位名称" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">中标价</label>
            <div class="layui-input-block">
                <input type="number" name="W_PRICE" v-model="tmp.W_PRICE"
                       placeholder="中标价" required lay-verify="required|number" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结构类型</label>
            <div class="layui-input-block">
                <input type="text" name="KJ_TYPE" v-model="tmp.KJ_TYPE"
                       placeholder="结构类型" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">工程规模</label>
            <div class="layui-input-block">
                <input type="text" name="P_SCALE" v-model="tmp.P_SCALE"
                       placeholder="工程规模" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">风险级别</label>
            <div class="layui-input-block">
                <input type="text" name="RISK_LEVEL" v-model="tmp.RISK_LEVEL"
                       placeholder="风险级别" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">造价师/员</label>
            <div class="layui-input-block">
                <input type="text" name="P_ZJS" v-model="tmp.P_ZJS"
                       placeholder="造价师/员" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">企业项目组织结构ID</label>
            <div class="layui-input-block">
                <input type="text" name="EPSID" v-model="tmp.EPSID"
                       placeholder="企业项目组织结构ID" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">责任主体</label>
            <div class="layui-input-block">
                <input type="text" name="RESP_ID" v-model="tmp.RESP_ID"
                       placeholder="责任主体" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <input type="text" name="REMARKS" v-model="tmp.REMARKS"
                       placeholder="备注" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formSubmit">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>

<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/userJs/pla_project_all.js?v=1"></script>


